﻿@model IEnumerable<LeadMaster.Models.Regions>
<legend style="width:140px;">Regions</legend>
<div class="spacer"></div>
<table style="border-style: solid; border-color: #006600; padding: 15px; width: 900px; background-color: #009999; color: #FFFFFF; border-radius: 8px;">
@foreach (var item in Model)
{
    <tr>
        <td><label style="font-family: 'Trebuchet MS'; font-size: 20px; letter-spacing: .1em;">@item.Description</label></td>
        <td><label style="font-family: 'Trebuchet MS'; font-size: 12px; letter-spacing: .1em;">@item.Postcodes</label></td>
        <td style="background-color: #FFFF00; font-family: 'Trebuchet MS'; font-size: 16px; font-weight: lighter; vertical-align: middle; text-align: center;">@Html.ActionLink("Edit", "Edit", new { id = item.RegionsID })</td>
        <td style="background-color: #FFFF00; font-family: 'Trebuchet MS'; font-size: 16px; font-weight: lighter; vertical-align: middle; text-align: center;">@Html.ActionLink("Delete", "Delete", new { id = item.RegionsID })</td>
    </tr>		 
}

</table>
<div class="spacer"></div>
@Html.ActionLink("Create Region","Create")

